home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 May / SGI IRIX 6.5 Complementary Applications 2004 May.iso / dist / OpenOffice.idb / usr / OpenOffice / help / en / sbasic.jar / text / sbasic / common / 00000002.xml next >
Encoding:
Extensible Markup Language  |  2002-01-24  |  7.5 KB  |  51 lines

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <html><head><title>%PRODUCTNAME Basic Glossary</title><meta name="filename" content="text/sbasic/common/00000002"/><meta name="language" content="en-US"/><help:css-file-link xmlns:help="http://openoffice.org/2000/help"/><!--The CSS style header method for setting styles--><style type="text/css">
  3.  
  4.         table.Tabelle1{
  5.                 margin-left:0cm; margin-right:0cm;}
  6.         span.Tabelle1A{
  7.                 width:17.995cm;}
  8.         p.P1{
  9.                 }
  10.         span.T1{
  11.                 font-weight:bold;}
  12.         span.fr1{
  13.                 }
  14.         </style></head><body>
  15.    
  16.    
  17.    <p class="P1"/>
  18.    <p class="Head1"><a name="glossar"/><help:link Id="66636" xmlns:help="http://openoffice.org/2000/help"><help:productname>%PRODUCTNAME</help:productname> Basic Glossary</help:link></p>
  19.    <p class="Paragraph">In addition to several technical terms, this glossary also explains some of the most important functions that you will come across in programming with <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic.<a name="ende"/></p>
  20.    <p class="Paragraph">Click on the desired term, or browse through the alphabetical list of descriptions.</p>
  21.    <p class="Paragraph"><help:link Id="66636" Eid="dezimal" xmlns:help="http://openoffice.org/2000/help">Decimal Point</help:link>, <help:link Id="66636" Eid="farben" xmlns:help="http://openoffice.org/2000/help"> Colors</help:link>, <help:link Id="66636" Eid="masseinheiten" xmlns:help="http://openoffice.org/2000/help">measurement units</help:link>, <help:link Id="66636" Eid="twips" xmlns:help="http://openoffice.org/2000/help">Twips</help:link></p>
  22.    <p class="PropText"/>
  23.    <help:to-popup Eid="dezimal" xmlns:help="http://openoffice.org/2000/help">
  24.    <p class="Head2"><a name="dezimal"/>Decimal Point</p>
  25.    <p class="Paragraph">When converting numbers, <help:productname>%PRODUCTNAME</help:productname> Basic takes country settings into effect. If you have specified a country in your system settings where decimal points in numbers are represented by a comma, and thousand separators are represented by a point, this setting also applies to calculations in <help:productname>%PRODUCTNAME</help:productname> Basic.</p>
  26.    <p class="Paragraph">The behavior has an effect on both the implicit conversion ( 1 + "2,3" = 3,3 ) as well as the runtime function <help:link Id="66406">IsNumeric</help:link>. The thousand separator corresponds to the system settings.</p>
  27.    </help:to-popup>
  28.    <p class="Head2"><a name="farben"/>Colors</p>
  29.    <p class="Paragraph">In <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic, colors are generally treated as long integer variables; the return value is also always long integer. When defining properties, colors can also be set in <help:link Id="66436" Eid="rgb" xmlns:help="http://openoffice.org/2000/help">RGB code</help:link> and thus treated as long integer values.</p>
  30.    <help:embedded Id="66475" Eid="farbcodes" xmlns:help="http://openoffice.org/2000/help"/>
  31.    <p class="Head2"><a name="masseinheiten"/>Measurement units</p>
  32.    <p class="Paragraph">The pass parameters of a method, which contain the measurement unit information, can be set in <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> Basic either as an integer or long integer expression without a defined unit, or as a character string with a defined unit. If such a parameter is passed as an integer or long integer expression, the default unit defined for the active document type in the <span class="T1">Layout</span> tab under <span class="T1">Tools - Options</span> will be used as the measurement unit. If the parameter is passed as a character string with a defined measurement unit, the default setting will be ignored. The following are valid measurement units:</p>
  33.    <p class="Paragraph">Millimeter ("20mm"), centimeter ("2.00cm"), inch ("0.79in"), pica and point ("59.9pt").</p>
  34.    <p class="Paragraph">For properties, the same applies: parameters can be set with or without a defined measurement unit as a string, or as an integer or long integer. However, for integer or long integer variables, the measurement unit is set according to the default settings. In the Help, a return value is characterized as an integer or long integer expression, depending on the respective variable type. Note that this value can also be returned as a character string.</p>
  35.    <p class="Paragraph">This rule is generally valid, unless defined otherwise in the Help. The settings in the <span class="T1">Layout</span> tab do not apply to font sizes or window positioning. Font sizes can also be set either as a long integer variable without a defined unit or with the desired measurement unit. If no unit is specified, the default unit is point. The return value also uses the point unit, regardless of if a string or a numerical value is queried. Window positions are always specified in pixel. To find out which unit is used by the program, please refer to the appropriate topic in the documentation.</p>
  36.    <p class="Paragraph"/>
  37.    <table><tr class=""><th style="text-align:left;"><span class="Tabelle1A">
  38.        <p class="TextInTable"><draw:image draw:style-name="fr1" draw:name="Grafik1" text:anchor-type="paragraph" svg:width="0.053cm" svg:height="0.053cm" draw:z-index="0" xlink:href="67433" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:filter-name="GIF - Graphics Interchange" xmlns:draw="http://openoffice.org/2000/drawing" xmlns:text="http://openoffice.org/2000/text" xmlns:svg="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"/></p>
  39.       </span></th></tr></table>
  40.    <p class="Paragraph"/>
  41.    <help:to-popup Eid="twips" xmlns:help="http://openoffice.org/2000/help"><a name="twips"/>
  42.    <p class="Head2"><help:key-word value="Twips" tag="kw66636_1"/>Twips</p>
  43.    <p class="Paragraph">A twip is a screen-independent unit which is used to define the uniform position and size of screen elements on all display systems. A twip is 1/1440th of an inch or 1/20 of a printer's point. There are thus 1440 twips to an inch or about 567 twips to a centimeter.</p>
  44.    </help:to-popup>
  45.    <p class="Head2"><a name="urllocal"/>URL notation</p>
  46.    <p class="Paragraph"><span class="T1">Example</span>: file:///c|/autoexec.bat</p>
  47.    <p class="Paragraph">Even individual files can be determined worldwide by a URL. This example shows the address of the file autoexec.bat on the C: drive of the computer on which this file is referenced. The name of the computer is missing in this example - <text:s text:c="" xmlns:text="http://openoffice.org/2000/text"/>if you want to add it, insert it between the second and third slash.</p>
  48.    <p class="Paragraph">In <help:productname xmlns:help="http://openoffice.org/2000/help">%PRODUCTNAME</help:productname> you can also enter the path for your files with the backslash "\" as the separator; the application will convert it to the correct URL convention with a slash "/". Since the colon (used by many operating systems to separate the disk drive letter from the next part of the address) already has a different function in a URL address, convention dictates that it is replaced by a vertical line "|" here.</p>
  49.    <p class="Paragraph">If a folder name referred to in a URL contains spaces, you should replace these using the syntax for special characters. For example, instead of entering the folder name "My Files," name it "My%20Files". After the percentage sign comes the two-digit hexadecimal ASCII code for a space (decimal 32 = hexadecimal 20).</p>
  50.    <p class="Paragraph"/>
  51.   </body></html>